<!--
* StorezPro
* Copyright (c) 2009 by Phoenix Resourcez
* All Rights Reserved
* $Id: user_orders.html,v 1.4 2009/11/23 14:06:40 Phoenix Exp $
-->
<!-- IF S_IS_USER -->
	<div class="table1">
		<div style="float:left;" class="title"><b>{L_PREVIOUSORDERS}</b></div>
		<div style="float:right;" class="title"><input type="button" value="{L_BROWSESTORE}" onclick="self.location.href='{U_STOREZ11}'" /></div><br />
	</div>
	<br />
	<!-- IF S_ORDERNUM -->
		<table border="0" cellpadding="2" cellspacing="2" width="100%" class="table1">
		<tr style="background:{S_BGCOLOR2};">
		<td class="option" align="center">{L_ORDERNUM}</td>
		<td class="option" align="center">{L_ORDERDATE}</td>
		<td class="option" align="center">{L_TOTAL}</td>
		<td class="option" align="center">{L_HANDLING}</td>
		<td class="option" align="center">{L_SHIPPING}</td>
		<td class="option" align="center">{L_TAX}</td>
		<td class="option" align="center">{L_ORDERSTATUS}</td>
		<td class="option" align="center">{L_SHIPSTATUS}</td>
		<td class="option" align="center">{L_ORDERFUNCTIONS}</td>
		</tr>
		<!-- BEGIN orders -->
			<tr style="background:{S_BGCOLOR3};">
			<td class="content" align="center"><a href="{orders.U_VIEWRECEIPT}"><b>{orders.S_ORDERID}</b></a></td>
			<td class="content" align="center">{orders.S_ORDERDATE}&nbsp;&nbsp;</td>
			<td class="content" align="center">{orders.S_PRODTOTAL}</td>
			<td class="content" align="center">{orders.S_HANDLETOTAL}</td>
			<td class="content" align="center">{orders.S_SHIPTOTAL}</td>
			<td class="content" align="center">{orders.S_TAXTOTAL}</td>
			<td class="content" align="left">&nbsp;&nbsp;{orders.S_STATUSLABEL}</td>
			<td class="content" align="left">&nbsp;&nbsp;{orders.S_SHIPLABEL}</td>
			<td class="content" align="center">&nbsp; <a href="{orders.U_VIEWRECEIPT}">{L_ORDERVIEW}</a>{orders.U_EDITORDER}</td>
			</tr>
		<!-- END orders -->
		</table>
	<!-- ELSE -->
		<div style="text-align:center;" class="table1"><b>{L_NOPREVIOUSORDERS}</b></div>
	<!-- ENDIF -->
<!-- ELSE -->
	<div style="text-align:center;" class="table1"><b>{L_NLI}</b></div>
<!-- ENDIF -->
